package com.t.bricks.bussiness.db.mapper.role;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.t.bricks.bussiness.db.entity.role.Role;

@Mapper
public interface RoleMapper {
	
	/**
	 * 添加
	 * @Param role
	 * @return
	 */
	int add(Role role);

	/**
	 * 删除
	 * @Param sId
	 * @Param iVersion
	 * @return
	 */
	int del(@Param("sId") String sId, @Param("iVersion") Integer iVersion);
	
}
